#ifndef ACCOUNT_FRIEND_H
#define ACCOUNT_FRIEND_H

#include "accountmember.h"


namespace Account {

class Friend : public Member
{
    Q_OBJECT
public:
    explicit Friend(QObject *parent = 0);
    Friend(int id,
           const QString &userName,
           const QString &displayName,
           const QString &avatar,
           QObject *parent = 0);

public:
    void setLastContactTime(long time);

    inline long lastContactTime() const {
        return m_lastContactTime;
    }

private:
    long m_lastContactTime;
};

}

#endif // ACCOUNT_FRIEND_H
